import 'package:flutter/material.dart';

abstract class IChartData{
  String get chartName;
  num get chartValue;
  Color? color;
}

class ChartData implements IChartData{
  String name;
  num value;

  ChartData({ required this.name, required this.value});

  @override
  String get chartName => name;

  @override
  num get chartValue => value;

  @override
  Color? color;

}
